package com.simpd.model;

public class AppVersion {
	private int versionCode; 
	private String versionName; 
	private String urlDownload; 
	private String releaseUpdate;
	
	public AppVersion() {}
	
	public AppVersion(int versionCode, String versionName) {
		this.versionCode 	= versionCode; 
		this.versionName 	= versionName; 
	}
	 
	public AppVersion(int versionCode, String versionName, String releaseUpdate) {
		this.versionCode 	= versionCode; 
		this.versionName 	= versionName; 
		this.releaseUpdate  = releaseUpdate;
	}
	
	
	public void setVersionCode(int versionCode){
		this.versionCode = versionCode; 
	}
	
	public int getVersionCode(){
		return this.versionCode;
	}

	public void setVersionName(String versionName){
		this.versionName = versionName; 
	}
	
	public String getVersionName(){
		return this.versionName; 
	}
	
	public void setReleaseUpdate(String releaseUpdate){
		this.releaseUpdate = releaseUpdate;
	}
	
	public String getReleaseUpdate(){
		return this.releaseUpdate;
	}
	
	public void setDownloadUrl(String urlDownload){
		this.urlDownload = urlDownload; 
	}
	
	public String getDowloadUrl(){
		return this.urlDownload;
	}
	
	@Override
	public String toString() {
		return "version code : "+this.versionCode+", version name : "+this.versionName+
			   ", download url : "+this.urlDownload;
	}
}
